package com.ash.controller;

import com.ash.domain.AccountCostInfo;
import com.ash.service.AccountCostInfoService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


@RestController
@RequestMapping("/test_controller")
public class TestController {
    @Resource
    private AccountCostInfoService accountCostInfoService;


    @RequestMapping("/test01")
    public Boolean test01(@RequestBody AccountCostInfo accountCostInfo) {
        System.out.println("啦 啦啦德玛西亚");
        return   accountCostInfoService.save(accountCostInfo);

    }
}
